package com.zt.rongda.shelter.service;

import com.zt.rongda.shelter.model.Shelter;
import com.zt.servlet.ReqBean;
import net.sf.json.JSONObject;

public interface IShelterService {

    /**
    * 查询
    *
    * @param reqBean
    * @return
    */
    JSONObject getTable(ReqBean reqBean);

    /**
    * 通过id查询
    *
    * @param shelterId
    * @return
    */
    Shelter getById(String shelterId);

    /**
    * 新增
    *
    * @param shelter
    */
    void add(Shelter shelter);

    /**
    * 修改
    *
    * @param shelter
    */
    void update(Shelter shelter);

    /**
    * 删除
    *
    * @param shelterId
    */
    void delete(String shelterId);

}